<?
if ( defined( "_PARA__CONFIG" ) )
    return;
define("_PARA__CONFIG", 1 );

class Config {
    
    public $features;
    
    public function Config( $db_values ) {
        $this->features = array ( 'DB' => $db_values );
    }

    public function set( $section, $key, $value ) {
        $section_arr = $this->features[$section];
        if(!$section_arr) {
            $section_arr = array();
            $this->features[$section] = $section_arr;
        }

        $this->features[$section][ $key ] = $value;
        return;
    }

    public function get( $section, $key ) {
        if(!$this->features[ $section ])
            return null;
        return $this->features[ $section ][ $key ];
    }
}
?>